Part Number Hot Search : 
6A100 MBR101 SMC5349B 805SH BTS117TC PJ120A SPL7152 PMBFJ17
Product Description
Full Text Search
 

To Download MAX31826 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ????????????????????????????????????????????????????????????????? maxim integrated products 1 general description the MAX31826 digital thermometer provides 12-bit temperature measurements and communicates over a 1-wire m bus that by definition requires only one data line (and ground) for communication with a central microcon - troller. it has a -55nc to +125nc operating temperature range and is accurate to q0.5nc over the -10nc to +85nc range. in addition, the device can derive power directly from the data line (parasite power), eliminating the need for an external power supply. each device has a unique 64-bit serial code, which allows multiple devices to function on the same 1-wire bus. therefore, it is simple to use one microcontroller (the master device) to control many devices distributed over a large area. the device includes 128 bytes (1kb) of eeprom for storage of system data. the eeprom can be locked to permanently prevent any further data writes. four location address inputs simplify mapping of individual devices to specific locations. applications benefits and features s unique 1-wire interface requires only one port pin for communication s integrated temperature sensor and eeprom reduce component count ? measures temperatures from -55 nc to +125nc (-67 nf to +257nf) ? 0.5nc accuracy from -10 nc to +85nc ? 12-bit temperature resolution (0.0625 nc) ? 1kb eeprom can be locked to prevent further writes s multidrop capability simplifies multisensor systems ? each device has a unique 64-bit serial code stored in on-board rom ? four pin-programmable bits to uniquely identify up to 16 sensor locations on a bus s can be powered from data line (3.0v to 3.7v power-supply range) s 8-pin max ? package block diagram 19-6264; rev 0; 3/12 ordering information appears at end of data sheet. for related parts and recommended products to use with this part, refer to www.maxim-ic.com/MAX31826.related. industrial systems building automation consumer equipment system calibration module identification 1-wire and max are registered trademarks of maxim integrated products, inc. MAX31826 64-bit rom and 1-wire port parasite- power circuit c pp v pu 4.7k dq gnd v dd memory control logic scratchpad 1 1kb eeprom scratchpad 2 8-bit crc generator 16-bit temperature register 8-bit configuration register address pin input latch ad0 ad1 ad2 ad3 power- supply sense MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom for pricing, delivery, and ordering information, please contact maxim direct at 1-888-629-4642, or visit maxims website at www.maxim-ic.com.
????????????????????????????????????????????????????????????????? maxim integrated products 2 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom voltage range on any pin relative to ground .... -0.5v to +4.5v continuous power dissipation (t a = +70 n c) f max (derate 4.5mw/ n c above +70 n c) ..................... 362mw operating temperature range ........................ -55 n c to +125 n c storage temperature range ............................ -55 n c to +125 n c lead temperature (soldering, 10s) ................................ +300 n c soldering temperature (reflow) ...................................... +260 n c absolute maximum ratings stresses beyond those listed under absolute maximum ratings may cause permanent damage to the device. these are stress ratings only, and functional opera - tion of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. dc electrical characteristics (t a = -55c to +125c, unless otherwise noted.) (note 1) parameter symbol conditions min typ max units supply voltage v dd local power (note 2) +3.0 +3.7 v pullup supply voltage (notes 2, 3) v pu parasite power +3.0 +3.7 v local power +3.0 v dd thermometer error (note 4) t err -10 n c to +85 n c -0.5 q 0.25 +0.5 n c -55 n c to +125 n c -2 +2 input logic-low v il (notes 2, 5) -0.3 +0.8 v input logic-high (notes 2, 6) v ih local power +2.4 lower of 3.7v or (v dd + 0.3v) v parasite power +3.0 lower of 3.7v or (v dd + 0.3v) sink current i l v i/o = 0.4v (note 2) 4.0 ma standby current i dds (notes 7, 8) 350 1000 na active current i dd v dd = 3.7v (note 9) 650 1200 f a active current with communication 800 1500 f a por time t por local or parasite power 4 7.8 ms input leakage current (ad0Cad3 pins) -1 +1 f a dq input current i dq (note 10) 5 f a
????????????????????????????????????????????????????????????????? maxim integrated products 3 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom note 1: limits are 100% production tested at t a = +25c and/or t a = +85c. limits over the operating temperature range and relevant supply voltage range are guaranteed by design and characterization. typical values are not guaranteed. note 2: all voltages are referenced to ground. note 3: the pullup supply voltage specification assumes that the pullup device is ideal, and therefore the high level of the pullup is equal to v pu . to meet the devices v ih specification, the actual supply rail for the strong pullup transistor must include margin for the voltage drop across the transistor when it is turned on; thus: v pu_actual = v pu_ideal + v transistor . note 4: guaranteed by design. these limits represent a three sigma distribution. note 5: to guarantee a presence pulse under low-voltage parasite-power conditions, v ilmax might need to be reduced to as low as 0.5v. note 6: logic-high voltages are specified at a 1ma source current. note 7: standby current specified up to t a = +70 n c. standby current typically is 3 f a at t a = +125 n c. note 8: to minimize i dds , dq should be within the following ranges: v gnd p v dq p v gnd + 0.3v or v dd - 0.3v p v dq p v dd . note 9: active current refers to supply current during active temperature conversions or eeprom writes. note 10: dq line is high (high-impedance state). note 11: see the 1-wire timing diagrams . note 12: under parasite power, if t rstl > 960 f s, a power-on reset (por) can occur. ac electrical characteristics (v dd = 3.0v to 3.7v, t a = -55c to +125c, unless otherwise noted.) (note 1) parameter symbol conditions min typ max units temperature conversion time t conv 12-bit resolution 150 ms time to strong pullup on t spon start convert t command, or copy scratchpad 2 command issued 10 f s time slot t slot (note 11) 60 120 f s recovery time t rec (note 11) 1 f s write-zero low time t low0 (note 11) 60 120 f s write-one low time t low1 (note 11) 1 15 f s read data valid t rdv (note 11) 15 f s reset time high t rsth (note 11) 480 f s reset time low t rstl (notes 11, 12) 480 f s presence-detect high t pdhigh (note 11) 15 60 f s presence-detect low t pdlow (note 11) 60 240 f s dq capacitance c in/out 25 pf ad0Cad3 capacitance c in_ad 50 pf nonvolatile memory eeprom write/erase cycles n eewr at t a = +25 c 200k at t a = +85 c (worst case) 50k eeprom data retention t eedr at t a = +85 c (worst case) 40 years eeprom write time t wr 20 25 ms
????????????????????????????????????????????????????????????????? maxim integrated products 4 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom 1-wire timing diagrams 1-wire write-zero time slot 1-wire read-zero time slot 1-wire reset pulse 1-wire presence detect reset pulse from host presence detect t slot t slot t rstl t rsth start of next cycle start of next cycle t low0 t rec t rec t pdhigh t pdlow t rdv
????????????????????????????????????????????????????????????????? maxim integrated products 5 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom typical operating characteristics (v cc = 3.3v, t a = -40c, unless otherwise noted.) pin configuration pin description pin name function 1 v dd optional v dd . v dd must be grounded for operation in parasite-power mode. 2 dq data input/output. open-drain 1-wire interface pin. also provides power to the device when used in parasite-power mode (see the parasite power section.) 3 n.c. no connection. not internally connected. 4 gnd ground 5 ad0 location address input (least significant bit) 6 ad1 location address input 7 ad2 location address input 8 ad3 location address input (most significant bit) MAX31826 typical error curve MAX31826 toc01 temperature (?c) thermometer error (?c) 80 70 50 60 -10 0 10 20 30 40 -30 -20 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 -0.5 -40 90 -3s error +3s error mean error max top view 27 ad2 dq 18 ad3 + v dd ad1 n.c. 36 ad0 gnd 45 MAX31826
????????????????????????????????????????????????????????????????? maxim integrated products 6 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom detailed description the MAX31826 digital thermometer provides 12-bit temperature measurements and communicates over a 1-wire m bus that by definition requires only one data line (and ground) for communication with a central microcon - troller. the data line requires a weak pullup resistor since all devices are linked to the bus through a three-state or open-drain port (i.e., the MAX31826s dq pin). four location address inputs simplify mapping of individual devices to specific locations. each device has a unique 64-bit serial code, allowing multiple devices to function on the same 1-wire bus. therefore, it is simple to use one microcontroller to con - trol many devices distributed over a large area. in this bus system, the microcontroller identifies and addresses devices on the bus using each devices unique 64-bit code. because each device has a unique code, the number of devices that can be addressed on one bus is virtually unlimited. the 1-wire bus protocol, including detailed explanations of the commands and time slots, is described in the 1-wire bus system section. the scratchpad 1 memory contains the 2-byte tem - perature register that stores the digital output from the temperature sensor. an additional 128 bytes (1kb) of general-purpose eeprom is included for storage of sys - tem data. the eeprom can be locked to permanently prevent any further data writes. the device can also operate without an external power supply. power is instead supplied through the 1-wire pullup resistor through dq when the bus is high. the high bus signal also charges an internal capacitor (c pp ), which then supplies power to the device when the bus is low. this method of deriving power from the 1-wire bus is referred to as parasite power. alternatively, a power supply on v dd can also power the device. measuring temperature the devices core functionality is its direct-to-digital tem - perature sensor. the resolution of the temperature sensor is 12 bits, corresponding to a least significant bit value of 0.0625 n c. the device powers up in a low-power idle state. to initiate a temperature measurement, the master must issue a convert t command. following the conver - sion, the resulting thermal data is stored in the 12-bit tem - perature register in the scratchpad 1 memory and the device returns to its idle state. if the device is powered by an external supply, the master can issue read time slots (see the 1-wire bus system section) after the convert t command, and the device responds by transmitting 0 while the temperature conversion is in progress and 1 when the conversion is done. if the device is powered with parasite power, this notification technique cannot be used because the bus must be pulled high by a strong pullup during the entire temperature conversion. the bus requirements for parasite power are explained in the powering the MAX31826 section. the temperature data (in n c) is stored as a 16-bit sign- extended twos complement number in the temperature register (see the temperature register format ). the sign bits (s) indicate if the temperature is positive or negative; for positive numbers s = 0 and for negative numbers s = 1. table 1 gives examples of digital output data and the corresponding temperature readings. 1-wire is a registered trademark of maxim integrated products, inc. temperature register format bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 msb s s s s s 2 6 2 5 2 4 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 lsb 2 3 2 2 2 1 2 0 2 -1 2 -2 2 -3 2 -4
????????????????????????????????????????????????????????????????? maxim integrated products 7 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom powering the MAX31826 the MAX31826 can be powered by an external supply on the v dd pin, or it can operate in parasite power mode, which allows the device to function without a local external supply. parasite power is useful for applications that require remote temperature sensing or those that are very space-constrained. figure 1 shows the devices parasite-power control circuitry, which steals power from the 1-wire bus through dq when the bus is high. the stolen charge powers the device while the bus is high, and some of the charge is stored on the parasite- power capacitor (c pp ) to provide power when the bus is low. when the device is used in parasite-power mode, v dd must be connected to ground. in parasite-power mode, the 1-wire bus and c pp can pro - vide sufficient current to the device for most operations as long as the specified timing and voltage requirements are met (see the dc electrical characteristics and the ac electrical characteristics tables). however, when the device is performing temperature conversions or copy - ing data from the scratchpad 2 memory to eeprom, the operating current can be as high as 1.5ma. this current can cause an unacceptable voltage drop across the weak 1-wire pullup resistor and is more current than can be supplied by c pp . to ensure that the device has suf - ficient supply current, it is necessary to provide a strong pullup on the 1-wire bus whenever temperature conver - sions are taking place or when data is being copied from the scratchpad 2 to eeprom. this can be accomplished by using a mosfet to pull the bus directly to the rail as shown in figure 1 . the 1-wire bus must be switched to the strong pullup within 10 f s (max) after a convert t or copy scratchpad 2 command is issued, and the bus must be held high by the pullup for the duration of the conversion (t conv ) or the duration of the eeprom write (t wr ). no other activity can take place on the 1-wire bus while the pullup is enabled. the device can also be powered by the conventional method of connecting an external power supply to v dd , as shown in figure 2 . the advantage of this method is that the mosfet pullup is not required, and the 1-wire bus is free to carry other traffic during the temperature conversion period or eeprom write time. the use of parasite power is not recommended for tem - peratures above 100 n c because the device may not be able to sustain communications due to the higher leak - age currents that can exist at these temperatures. for applications in which such temperatures are likely, it is strongly recommended that the device be powered by an external power supply. in some situations the bus master might not know whether the devices on the bus are parasite powered or powered by external supplies. the master needs this information to determine if the strong bus pullup should be used dur - ing temperature conversions. to get this information, the master can issue a skip rom command, followed by a read power supply command, followed by a read time slot. during the read time slot, parasite-powered devices pull the bus low, and externally powered devices let the bus remain high. if the bus is pulled low, the master knows that it must supply the strong pullup on the 1-wire bus during temperature conversions or eeprom writes. table 1. temperature/data relationship temperature ( n c) digital output (binary) digital output (hex) +125 0000 0111 1101 0000 07d0h +85 0000 0101 0101 0000 0550h +25.0625 0000 0001 1001 0001 0191h +10.125 0000 0000 1010 0010 00a2h +0.5 0000 0000 0000 1000 0008h 0 0000 0000 0000 0000 0000h -0.5 1111 1111 1111 1000 fff8h -10.125 1111 1111 0101 1110 ff5eh -25.0625 1111 1110 0110 1111 fe6fh -55 1111 1100 1001 0000 fc90h
????????????????????????????????????????????????????????????????? maxim integrated products 8 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom 64-bit rom code each device contains a unique 64-bit code stored in rom ( figure 3 ). the least significant 8 bits of the rom code contain the devices 1-wire family code, 3bh. the next 48 bits contain a unique serial number. the most significant 8 bits contain a cyclic redundancy check (crc) byte that is calculated from the first 56 bits of the rom code. see the crc generation section for a detailed explanation of the crc bits. the 64-bit rom code and associated rom function control logic allow the device to operate as a 1-wire device using the protocol detailed in the 1-wire bus system section. figure 1. supplying the parasite-powered MAX31826 during temperature conversions figure 2. powering the MAX31826 with an external supply figure 3. 64-bit rom code p v pu 4.7k v pu 1-wire bus to other 1-wire devices MAX31826 gnd dq v dd p v pu 4.7k 1-wire bus to other 1-wire devices (external supply) v dd MAX31826 gnd dq v dd msb 8-bit crc code 48-bit serial number msb msb lsb lsb lsb 8-bit family code (3bh) msb lsb
????????????????????????????????????????????????????????????????? maxim integrated products 9 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom figure 4. memory map memory the devices memory is organized as shown in figure 4 . the memory consists of two sram scratchpads (scratchpad 1 and scratchpad 2) and 1kb of eeprom, which can serve as general-purpose nonvolatile memory until locked. all memory commands are described in detail in the MAX31826 function commands section. byte 0 and byte 1 of scratchpad 1 contain the least significant byte and the most significant byte of the tem - perature register, respectively. byte 4 contains the con - figuration information. bytes 2, 3, 5, 6, and 7 are reserved for internal use by the device and cannot be overwritten; these bytes return all ones when read. byte 8 of scratchpad 1 is read-only and contains the crc code for bytes 0C7 of the scratchpad. the device generates this crc using the method described in the crc generation section. scratchpad 2 (the ee scratchpad) is used for writing to the eeprom. scratchpad 2 consists of 8 bytes; write data to scratchpad 2 before copying it to the eeprom. configuration register byte 4 of scratchpad 1 contains the configuration reg - ister, which is organized as shown in configuration register format . the configuration register allows the user to read the programmed value of the address pins. the ad[3:0] bits report the pin-programmed location information. pins connected to dq (in parasite power) or v dd (when externally powered) are reported with logic 1, and pins connected to gnd are reported as logic 0. pins connected to dq (in parasite power), v dd (when externally powered), or gnd through a resistor are valid logic 1s or logic 0s if the resistor is less than 10k i . unconnected or high-impedance ( > 10k i ) connections are indeterminate. bits [7:4] are reserved for internal use and cannot be overwritten; they return a 1 when read. configuration register format note: bits [3:0] are programmed through the four location programming address pins, ad3Cad0. reading the configuration register provides location information on up to 16 individual devices. bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ad3 ad2 ad1 ad0 temperature register lsb (50h) byte 0 temperature register msb (05h) byte 1 reserved (ffh) byte 2 reserved (ffh) byte 3 configuration register* byte 4 reserved (ffh) byte 5 reserved (ffh) byte 6 reserved (ffh) byte 7 crc byte 8 scra tchp ad 2 (ee scra tchp ad) byte 0 byte 0 *the lower 4 bits (ad[3:0]) of the configuration register are hardwired through ad0?ad3. byte 1 byte 1 ... ... byte 7 byte 7 scra tchp ad 1 (power-up stat e shown in p arentheses) eeprom bytes 00h?07h bytes 08h?0fh bytes 10h?17h ... bytes 70h?77h bytes 78h?7fh
???????????????????????????????????????????????????????????????? maxim integrated products 10 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom crc generation crc bytes are provided as part of the devices 64-bit rom code, in the 9th byte of scratchpad 1, and for scratchpad 2 values. the rom code crc is calculated from the first 56 bits of the rom code and is contained in the most significant byte of the rom. the two scratchpad crcs are calculated from the data in each scratchpad, and therefore changes when the data in it associated scratchpad changes. the crcs provide the bus mas - ter with a method of data validation when data is read from the device. to verify that data has been read cor - rectly, the bus master must recalculate the crc from the received data and then compare this value to either the rom code crc (for rom reads) or to the scratch - pads crc (for scratchpad reads). if the calculated crc matches the read crc, the data has been received error-free. the comparison of crc values and the deci - sion to continue with an operation are determined entirely by the bus master. there is no circuitry inside the device that prevents a command sequence from proceeding if the device crc (rom or scratchpad) does not match the value generated by the bus master. the equivalent polynomial function of the crc (rom or scratchpad) is: crc = x 8 + x 5 + x 4 + 1 the bus master can recalculate the crc and compare it to the crc values from the device using the polynomial generator shown in figure 5 . this circuit consists of a shift register and xor gates, and the shift register bits are initialized to 0. starting with the least significant bit of the rom code or the least significant bit of byte 0 in the scratchpad, one bit at a time should shifted into the shift register. after shifting in the 56th bit from the rom or the most significant bit of byte 7 from the scratchpad 1 or byte 10 from scratchpad 2, the polynomial generator contains the recalculated crc. next, the 8-bit rom code or scratchpad crc from the device must be shifted into the circuit. at this point, if the recalculated crc was correct, the shift register contains all zeros. additional information about the maxim 1-wire crc is available in application note 27: understanding and using cyclic redundancy checks with maxim ibutton ? products . 1-wire bus system the 1-wire bus system uses a single bus master to con - trol one or more slave devices. the MAX31826 is always a slave. when there is only one slave on the bus, the system is referred to as a single-drop system; the system is multidrop if there are multiple slaves on the bus. all data and commands are transmitted least significant bit first over the 1-wire bus. the following discussion of the 1-wire bus system is broken down into three topics: hardware configuration, transaction sequence, and 1-wire signaling (signal types and timing). hardware configuration the 1-wire bus has by definition only a single data line. each device (master or slave) interfaces to the data line by using an open-drain or three-state port. this allows each device to release the data line when the device is not transmitting data so the bus is available for use by another device. the devices 1-wire port (dq) is open drain with an internal circuit equivalent to that shown in figure 6 . figure 5. crc generator i button is a registered trademark of maxim integrated products, inc. 1st stage 2nd stage 3rd stage 4th stage 7th stage 8th stage 6th stage 5th stage x 0 x 1 x 2 x 3 x 4 polynomial = x 8 + x 5 + x 4 + 1 input data x 5 x 6 x 7 x 8
???????????????????????????????????????????????????????????????? maxim integrated products 11 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom figure 6. hardware configuration the 1-wire bus requires an external pullup resistor of approximately 5k i ; thus, the idle state for the 1-wire bus is high. if for any reason a transaction needs to be sus - pended, the bus must be left in the idle state if the transac - tion is to resume. infinite recovery time can occur between bits so long as the 1-wire bus is in the inactive (high) state during the recovery period. if the bus is held low for more than 480 f s, all components on the bus are reset. transaction sequence the transaction sequence for accessing the device is as follows: 1) step 1: initialization 2) step 2: rom command (followed by any required data exchange) 3) step 3: MAX31826 function command (followed by any required data exchange) it is very important to follow this sequence every time the device is accessed, as the device does not respond if any steps in the sequence are missing or out of order. an exception to this rule is the search rom command. after issuing this rom command, the master must return to step 1 in the sequence. initialization all transactions on the 1-wire bus begin with an initializa - tion sequence. the initialization sequence consists of a reset pulse transmitted by the bus master followed by presence pulse(s) transmitted by the slave(s). the pres - ence pulse lets the bus master know that slave devices (such as the MAX31826) are on the bus and are ready to operate. timing for the reset and presence pulses is detailed in the 1-wire signaling section. rom commands after the bus master has detected a presence pulse, it can issue a rom command. these commands operate on the unique 64-bit rom codes of each slave device and allow the master to single out a specific device if many are present on the 1-wire bus. these commands also allow the master to determine how many and what types of devices are present on the bus. there are four rom commands, and each command is 8 bits long. the master device must issue an appropriate rom command before issuing a MAX31826 function command. figure 7 shows a flowchart for operation of the rom commands. search rom [f0h] when a system is initially powered up, the master must identify the rom codes of all slave devices on the bus, which allows the master to determine the number of slaves and their device types. the master learns the rom codes through a process of elimination that requires the master to perform a search rom cycle (i.e., search rom command followed by data exchange) as many times as necessary to identify all the slave devices. if there is only one slave on the bus, the simpler read rom command can be used in place of the search rom process. for a detailed explanation of the search rom command procedure, refer to application note 937: book of ibutton ? standards . after every search rom cycle, the bus master must return to step 1 (initialization) in the transaction sequence. rx 4.7k 5a typ v pu bus master open-drain port pin 100 mosfet tx rx tx dq MAX31826 1-wire port rx = receive tx = transmit
???????????????????????????????????????????????????????????????? maxim integrated products 12 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom read rom [33h] this command can be used only when there is one slave on the bus. it allows the bus master to read the slaves 64-bit rom code without using the search rom com - mand procedure. if this command is used when there is more than one slave present on the bus, a data collision occurs when all the slaves attempt to respond at the same time. match rom [55h] the match rom command followed by a 64-bit rom code sequence allows the bus master to address a specific slave device on a multidrop or single-drop bus. only the slave that exactly matches the 64-bit rom code sequence responds to the function command issued by the master; all other slaves on the bus wait for a reset pulse. skip rom [cch] the master can use this command to address all devices on the bus simultaneously without sending out any rom code information. for example, the master can make all devices on the bus perform simultaneous temperature conversions by issuing a skip rom command followed by a convert t function command. note that the read scratchpad 1 command can follow the skip rom command only if there is a single slave device on the bus. in this case, time is saved by allowing the master to read from the slave without sending the devices 64-bit rom code. a skip rom command followed by a read scratchpad 1 command causes a data collision on the bus if there is more than one slave because multiple devices attempt to transmit data simultaneously. MAX31826 function commands after the bus master has used a rom command to address the MAX31826 with which it wishes to communi - cate, the master can issue one of the MAX31826 function commands. these commands allow the master to read from the devices scratchpad memories, initiate tempera - ture conversions, and determine the power-supply mode. the MAX31826 function commands are summarized in table 2 and illustrated by the flowchart in figure 8 . convert t [44h] this command initiates a single temperature conver - sion. following the conversion, the resulting thermal data is stored in the 2-byte temperature register in the scratchpad 1 memory and the device returns to its low- power idle state. if the device is being used in parasite- power mode, within 10 f s (max) after this command is issued, the master must enable a strong pullup on the 1-wire bus for the duration of the conversion (t conv ) as described in the powering the MAX31826 section. if the device is powered by an external supply, the master can issue read time slots after the convert t command, and the device responds by transmitting 0 while the tempera - ture conversion is in progress and 1 when the conversion is done. in parasite-power mode, this notification tech - nique cannot be used because the bus is pulled high by the strong pullup during the conversion. read scratchpad 1 [beh] this command allows the master to read the contents of scratchpad 1. the data transfer starts with the least sig - nificant bit of byte 0 and continues through the scratch - pad until the 9th byte (byte 8, crc) is read. the master can issue a reset to terminate reading at any time if only part of the scratchpad data is needed. the crc is com - puted while data is read from bytes 0C7, and is shifted out as byte 8. read scratchpad 2 [aah] this command allows the master to read the contents of scratchpad 2. the command must be issued followed by the start address to initiate a data transfer. the data transfer always starts with the least significant bit of the byte pointed to by the address bits [2:0], and the data transfer continues through the scratchpad until 8 bytes have been read. the [2:0] address bits wrap when address [2:0] = 0x7 to [2:0] = 0x0. the master can issue a reset to terminate reading at any time if only part of the scratchpad data is needed. the crc is computed dynamically and includes the command, address, and all the data bytes 0C7 for a total of 10 bytes. the computed crc is shifted out at the end of data byte 7. because the crc contains the start address, the crc value com - puted can vary with different start addresses. note: after the read scratchpad 2 command, an address of 00h returns the scratchpad contents correctly. this is true regardless of the address sent during a preceding write scratchpad 2 command transaction. however, the address used during a preceding write scratchpad 2 command is necessary here to ensure that future copy scratchpad 2 commands are copied to the correct row. if 00h is used instead, a future copy scratchpad 2 com - mand copies the contents to address 00h as opposed to the row addressed by the write scratchpad 2 command.
???????????????????????????????????????????????????????????????? maxim integrated products 13 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom write scratchpad 2 [0fh] this command allows the master to write 8 bytes to the ee scratchpad. after issuing the write scratchpad 2 command, the master must first provide the 1-byte address for the first byte of the target eeprom page, followed by the 8 bytes of data to be written to the scratchpad for the eeprom. the three lower bits [2:0] of the target address byte must be set to 0. the device automatically increments the address after every byte it receives. the device computes the crc of the received data, including the command (0fh), the target address byte, and the 8 data bytes. after having received a data byte for address 07h, the device shifts out (back to the master) the computed crc of the 10-byte stream just received, allowing the master to verify that the data was received correctly. note that, because the device switches direction from receive to transmit, writes to scratchpad 2 must start with address bits [2:0] set to 0 and proceed from 0hC7h and not beyond. copy scratchpad 2 [55h] this command allows the master to copy the contents of an 8-byte page of data from scratchpad 2 to the 1kb user memory. the command is followed by the byte a5h. after the master writes a5h, the device enters the programming cycle, saving the data to nonvolatile memory, and does not respond to further communication for the duration of the eeprom write time (t wr ). during nonparasitic-power mode, communication with other devices can continue. if the device is being used in parasite-power mode, within 10 f s (max) after a5h is issued, the master must enable a strong pullup on the 1-wire bus for the duration of the eeprom write time (t wr ) as described in the powering the MAX31826 section. no other activity can take place on the 1-wire bus while the strong pullup is enabled. changing only 1 byte of eeprom is not natively supported on the device. to achieve this, the master must first read the 8-byte block that contains the single byte to be changed, and the three lower bits [2:0] of the target address byte must be 0. the master must then modify the single byte and write back the 8 bytes with write scratchpad 2 and the same target address. finally, the master must issue a copy scratchpad 2 command. note: the copy scratchpad 2 command uses the more recent of the two 8-bit addresses provided by either the write scratchpad 2 or read scratchpad 2 commands as the eeprom destination address. the recommended pro - cedure for writing to eeprom starting at address 08h is as follows: 1) write scratchpad 2 (address = 08h, 8 data bytes). 2) read scratchpad 2 (address = 08h, 8 data bytes). this reads the data correctly as expected. 3) copy scratchpad 2 (0xa5). 4) data is copied to row 1, which is the correct destination based on the write scratchpad 2 address. read memory [f0h] this command allows the master to read the contents of the 1kb memory. the command is followed by the address of the first byte to be read (00hC7fh). the data transfer starts with the least significant bit of the first byte and continues through 7fh. the master can issue a reset to terminate read - ing at any time. read power supply [b4h] the master device issues this command followed by a read time slot to determine if any devices on the bus are using parasite power. during the read time slot, parasite-powered devices pull the bus low, and externally powered devices do not pull the bus low. see the powering the MAX31826 section for more information. lock low memory and lock high memory the lock low memory and lock high memory routines each lock the contents of eight pages of memory. lock low memory (bytes 00hC3fh) as follows: 1) initialize communication by issuing a reset and a rom command. 2) send write scratchpad 2 command. 3) send address 80h as the target address to be written. 4) send data 55h. 5) initialize and send copy scratchpad 2 command. 6) issue write token a5h and wait t wr . locations 00C3fh are now locked. also, location 80h is locked with value 55h. location 80h cannot be changed to alter the lock status of 00hC3fh. lock high memory (bytes 40hC7fh) as follows: 1) initialize communication by issuing a reset and a rom command. 2) send write scratchpad 2 command. 3) send address 81h as the target address to be written. 4) send data 55h. 5) initialize and send copy scratchpad 2 command. 6) issue write token a5h and wait t wr .
???????????????????????????????????????????????????????????????? maxim integrated products 14 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom table 2. MAX31826 function command set note 1: for parasite-powered devices, the master must enable a strong pullup on the 1-wire bus during temperature conversions and copies from the scratchpad 2 to eeprom. no other bus activity can take place during this time. note 2: the master can interrupt the transmission of data at any time by issuing a reset. command description protocol 1-wire bus activity after command is issued convert t (note 1) initiates temperature conversion. 44h the device transmits conversion status to master (not applicable for parasite-powered devices). read scratchpad 1 (note 2) reads the 9-byte scratchpad including the crc byte. beh the device transmits up to 9 data bytes to master. the 9th byte is the crc byte. read scratchpad 2 (note 2) reads the 9-byte ee scratchpad including the crc byte. aah the master transmits the start address. the device transmits up to 9 data bytes to the master. the 9th byte is the crc byte. write scratchpad 2 (note 2) writes to the 8-byte ee scratchpad. 0fh the master transmits the address of first byte in the target page, and then transmits 8 data bytes. the device then returns the crc byte calculated from the 10 bytes just transmitted. copy scratchpad 2 writes the contents of the 8-byte scratchpad 2 to the eeprom. 55h the master transmits token a5h. the device enters eeprom write mode, during which communication is not allowed in parasitic-power mode. additionally, a strong pullup is also required during parasitic-power mode. read memory (note 2) reads data in the 1kb user memory. f0h the master transmits the address of first byte to be read. the device then transmits data starting with first byte until reaching the end of the available addresses or until the master issues a reset. read power supply signals the devices power-supply mode to the master. b4h the device transmits supply status to the master. lock low memory prevents further changes to the lower eight pages of user memory. write 55h to byte 80h of scratchpad 2. copy scratchpad 2 to eeprom. lock high memory prevents further changes to the upper eight pages of user memory. write 55h to byte 81h of scratchpad 2. copy scratchpad 2 to eeprom.
???????????????????????????????????????????????????????????????? maxim integrated products 15 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom figure 7. rom commands flowchart f0h search rom? n bit 0 match? bit 0 match? cch skip rom? n 55h match rom? n n n 33h read rom? n y y y y y master tx bit 0 MAX31826 tx family code 1 byte master tx function command MAX31826 tx serial number 6 bytes MAX31826 tx crc byte master tx rom command MAX31826 tx presence pulse master tx reset pulse initialization sequence MAX31826 tx bit 0 MAX31826 tx bit 0 master tx bit 0 master tx bit 63 MAX31826 tx bit 63 MAX31826 tx bit 63 master tx bit 63 bit 1 match? bit 1 match? n n bit 63 match? bit 63 match? n n y y y y master tx bit 1 MAX31826 tx bit 1 MAX31826 tx bit 1 master tx bit 1 y
???????????????????????????????????????????????????????????????? maxim integrated products 16 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom figure 8. MAX31826 function commands flowchart 44h convert t? y n parasite power? master tx function command MAX31826 begins conversion master tx start address master tx token a5h master rx data byte from eeprom master rx ?1s? master rx ?0s? y n master enables strong pullup on dq MAX31826 converts temperature master disables strong pullup master enables strong pullup on dq data copied from scratchpad 2 to eeprom master disables strong pullup data copied from scratchpad 2 to eeprom device converting temperature? y n master rx ?0s? master rx ?1s? 55h copy scratchpad 2? n parasite power? y n y n n f0h read memory? y n y master tx reset? master tx eeprom page address 0fh write scratchpad 2? y master tx 8 data bytes master rx crc byte master tx start address aah read scratchpad 2? y y master rx data byte from scratchpad 2 master rx data byte from scratchpad 1 return to initialization sequence for next transaction master rx scratchpad 2 crc byte y n n n master tx reset? y master rx scratchpad 1 crc byte y have 8 bytes been read? beh read scratchpad 1? y n b4h read power supply? parasite power? n n y n n master tx reset? have 8 bytes been read?
???????????????????????????????????????????????????????????????? maxim integrated products 17 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom figure 9. building a cross-reference table locations 40hC7fh are now locked. also, location 81h is locked with value 55h. location 81h cannot be changed to alter the lock status of 40hC7fh. building a cross-reference table the procedure in figure 9 uses the search rom com - mand to find all MAX31826s on the 1-wire bus (16 maximum) and then reads each configuration register to match the rom ids to the hardwired addresses. 1-wire signaling the device uses a strict 1-wire communication protocol to ensure data integrity. several signal types are defined by this protocol: reset pulse, presence pulse, write-zero, write-one, read-zero, and read-one. the bus master initi - ates all these signals except the presence pulse. initialization procedure: reset and presence pulses all communication with the device begins with an initial - ization sequence that consists of a reset pulse from the master followed by a presence pulse from the device. this is illustrated in figure 10 . when the device sends the presence pulse in response to the reset, it is indicating to the master that it is on the bus and ready to operate. during the initialization sequence, the bus master trans - mits (tx) the reset pulse by pulling the 1-wire bus low for 480 f s (min). the bus master then releases the bus and goes into receive mode (rx). when the bus is released, the 5k i pullup resistor pulls the 1-wire bus high. when the device detects this rising edge, it waits 15 f s to 60 f s and then transmits a presence pulse by pulling the 1-wire bus low for 60 f s to 240 f s. search all rom ids on bus and store rom ids (f0h command) n max is the number of rom ids found done building cross-reference t able using rom ids and 4-bit addresses read scratchpad 1 (use ad3?ad0 from config register) master tx next rom id increment counter n = n + 1 n > n max ? n y match rom id to address and add to cross-reference table rom id(0) 0000 rom id ad3?ad0 cross-reference t able note: tempera ture sensors are addresse d by rom id, not by binar y address. rom id(1) 0001 rom id(2) 0010 rom id(3) 0011 rom id(12) 1100 rom id(13) 1101 rom id(14) 1110 rom id(15) 1111
???????????????????????????????????????????????????????????????? maxim integrated products 18 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom read/write time slots the bus master writes data to the device during write time slots and reads data from the device during read time slots. one bit of data is transmitted over the 1-wire bus per time slot. write time slots there are two types of write time slots: write-one time slots and write-zero time slots. the bus master uses a write-one time slot to write a logic 1 to the device and a write-zero time slot to write a logic 0 to the device. all write time slots must have a 60 f s (min) duration with a 1 f s (min) recovery time between individual write slots. both types of write time slots are initiated by the master pulling the 1-wire bus low ( figure 11 ). to generate a write-one time slot, after pulling the 1-wire bus low, the bus master must release the 1-wire bus within 15 f s. when the bus is released, the 5k i pullup resistor pulls the bus high. to generate a write-zero time slot, after pulling the 1-wire bus low, the bus master must continue to hold the bus low for the duration of the time slot (at least 60 f s). the device samples the 1-wire bus during a window that lasts from 15 f s to 60 f s after the master initiates the write time slot. if the bus is high during the sampling window, a 1 is written to the device. if the line is low, a 0 is written to the device. read time slots the device can only transmit data to the master when the master issues read time slots. therefore, the master must generate read time slots immediately after issuing a read scratchpad 1 command or read power supply command, so that the device can provide the requested data. in addition, the master can generate read time slots after issuing a convert t command to verify the operation status as explained in the MAX31826 function commands section. all read time slots must be 60 f s (min) in duration with a 1 f s (min) recovery time between slots. a read time slot is initiated by the master device pulling the 1-wire bus low for a minimum of 1 f s (t init ) and then releasing the bus ( figure 11 ). after the master initiates the read time slot, the device begins transmitting a 1 or 0 on bus. the device transmits a 1 by leaving the bus high and trans - mits a 0 by pulling the bus low. when transmitting a 0, the device releases the bus by the end of the time slot, and the pullup resistor pulls the bus back to its high idle state. output data from the device is valid for 15 f s after the falling edge that initiated the read time slot. therefore, the master must release the bus and then sample the bus state within 15 f s from the start of the slot. figure 12 illustrates that the sum of t init , t rc , and the master sample window must be less than 15 f s for a read time slot. t rc is the rise time due to the resistive and capacitive characteristics of the bus. figure 13 shows that system timing margin is maximized by keeping t init and t rc as short as possible and by locating the master sample time during read time slots towards the end of the 15 f s period. figure 10. initialization timing v pu 1-wire bus master tx reset pulse 480s minimum master rx 480s minimum MAX31826 tx presence pulse 60s to 240s MAX31826 waits 15s to 60s gnd bus master pulling low MAX31826 pulling low resistor pullup
???????????????????????????????????????????????????????????????? maxim integrated products 19 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom figure 11. read/write time slot timing diagram figure 12. detailed master read-one timing v pu 1-wire bus start of slot start of slot 60s < tx ?0? < 120s 1s < t rec < 1s < t rec < > 1s > 1s master samples master samples > 1s 15s 15s 30s master write-zero slot MAX31826 samples min max typ MAX31826 samples min max typ master write-one slot master read-zero slot master read-one slot gnd v pu 1-wire bus gnd 15s 45s 15s 15s 15s 30s bus master pulling low MAX31826 pulling low resistor pullup v ih of master master samples v pu 1-wire bus gnd 15s t init > 1s t rc bus master pulling low resistor pullup
???????????????????????????????????????????????????????????????? maxim integrated products 20 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom operation example table 3 shows an operation example in which there are multiple devices on the bus using parasite power. the bus master initiates a temperature conversion in a specific MAX31826 and then reads scratchpad 1 and recalculates the crc to verify the data. figure 13. recommended master read-one timing table 3. operation example master mode data (lsb first) comments tx reset master issues reset pulse. rx presence devices respond with presence pulse. tx f0h master issues search rom command tx reset master issues reset pulse. rx presence devices respond with presence pulse. tx 55h master issues match rom command for desired address tx 64-bit rom code master sends device rom code. tx 44h master issues convert t command. tx dq line held high by strong pullup master applies strong pullup to dq for the duration of the conversion (t conv ). tx reset master issues reset pulse. rx presence devices respond with presence pulse. tx 55h master issues match rom command. tx 64-bit rom code master sends device rom code. tx beh master issues read scratchpad 1 command. rx 9 data bytes master reads entire scratchpad 1 including crc. the master then recalculates the crc of the first 8 data bytes from the scratchpad and compares the calculated crc with the read crc (byte 9). if they match, the master continues; if not, the read operation is repeated. v pu v ih of master t init = small t rc = small master samples 15s 1-wire bus gnd bus master pulling low resistor pullup
???????????????????????????????????????????????????????????????? maxim integrated products 21 MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom figure 14. address programming diagramv dd powered figure 15. address programming diagramparasite powered ordering information package information for the latest package outline information and land patterns (footprints), go to www.maxim-ic.com/packages . note that a +, #, or - in the package code indicates rohs status only. package drawings may show a different suffix character, but the drawing pertains to the package regardless of rohs status. + denotes a lead(pb)-free/rohs-compliant package. t = tape and reel. part temp range pin-package MAX31826mua+ -55 n c to +125 n c 8 f max MAX31826mua+t -55 n c to +125 n c 8 f max package type package code outline no. land pattern no. 8 f max u8+3 21-0036 90-0092 MAX31826 ad0 ad1 ad2 ad3 dq location 0 ad0 = gnd ad1 = gnd ad2 = gnd ad3 = gnd v dd v dd 1-wire bus note: ad3?ad0 cannot be left unconnected; each pin must be connected to either v dd or gnd. gnd MAX31826 ad0 ad1 ad2 ad3 dq location 1 ad0 = v dd ad1 = gnd ad2 = gnd ad3 = gnd v dd v dd gnd MAX31826 ad0 ad1 ad2 ad3 dq location 2 ad0 = gnd ad1 = v dd ad2 = gnd ad3 = gnd v dd v dd gnd MAX31826 ad0 ad1 ad2 ad3 dq location 15 ad0 = v dd ad1 = v dd ad2 = v dd ad3 = v dd v dd v dd gnd MAX31826 ad0 ad1 ad2 ad3 dq location 0 ad0 = gnd ad1 = gnd ad2 = gnd ad3 = gnd v dd 1-wire bus note: ad3?ad0 cannot be left unconnected; each pin must be connected to either dq or gnd. gnd MAX31826 ad0 ad1 ad2 ad3 dq location 1 ad0 = dq ad1 = gnd ad2 = gnd ad3 = gnd v dd gnd MAX31826 ad0 ad1 ad2 ad3 dq location 2 ad0 = gnd ad1 = dq ad2 = gnd ad3 = gnd v dd gnd MAX31826 ad0 ad1 ad2 ad3 dq location 15 ad0 = dq ad1 = dq ad2 = dq ad3 = dq v dd gnd
maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a maxim product. no circuit patent licenses are implied. maxim reserves the right to change the circuitry and specifications without notice at any time. the parametric values (min and max limits) shown in the electrical characteristics table are guaranteed. other parametric values quoted in this data sheet are provided for guidance. maxim integrated products, 120 san gabriel drive, sunnyvale, ca 94086 408-737-7600 22 ? 2012 maxim integrated products maxim is a registered trademark of maxim integrated products, inc. revision history revision number revision date description pages changed 0 3/12 initial release MAX31826 1-wire digital temperature sensor with 1kb lockable eeprom


▲Up To Search▲   

 
Price & Availability of MAX31826

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X